package com.yezong.AidMe.controller;

import net.sf.json.JSONException;
import net.sf.json.JSONObject;
public class JsonTest {
    private static void JsonTest(){
        JSONObject jsontest = new JSONObject();
        Object nullObj = null;
        try {
            jsontest.put("图书资料", new String[]{"文学","语言文字","文化教育","哲学","经济","社科","政法","军事"});
            jsontest.put("服装配饰", new String[]{"正装", "棉服", "男装","女装","手套","运动"});
            jsontest.put("文娱道具", new String[]{"文具","乐器","表演道具","文具","乐器","表演道具","文具","乐器","表演道具"});
            jsontest.put("电子数码", new String[]{"家用电器","相机","手机","手机","U盘","笔记本"});
            jsontest.put("美妆饰品", new String[]{"彩妆","美容仪器","护肤品","面膜","彩妆","美容仪器","护肤品","面膜"});
            jsontest.put("箱包鞋靴", new String[]{"鞋靴","箱","包","鞋靴","箱","包","鞋靴","箱","包"});
            jsontest.put("机械车品", new String[]{"车","五金","建材","车","五金","建材","车","五金","建材"});
            jsontest.put("户外出行", new String[]{"登山","旅游","野营","登山","旅游","野营","登山","旅游","野营"});
            jsontest.put("日用家居", new String[]{"家具","厨房用品","水电","家具","厨房用品","水电","家具","厨房用品","水电"});
            jsontest.put("医药健康", new String[]{"保健品","急救医用","消毒","跌打损伤","保健品","急救医用","消毒","跌打损伤"});
            System.out.println(jsontest.toString());
        }catch (JSONException e){
            e.printStackTrace();
        }
    }
}
